1.初始化package
npm init -y
2.安装依赖包
npm install css-loader html-webpack-plugin vue-loader  vue-tamplate-compiler webpack webpack-cli webpack-dev-server -D
npm install vue -S
3.创建根组件App.vue 入口文件index.js
4.创建webpack.config.js